package com.example.ai.inventory;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

/**
 * 进销存系统启动类
 */
@SpringBootApplication
@EntityScan(basePackages = "com.example.ai.inventory.entity")
@EnableJpaRepositories(basePackages = "com.example.ai.inventory.repository")
public class InventoryApplication {
    
    public static void main(String[] args) {
        SpringApplication.run(InventoryApplication.class, args);
    }
}